<?php

//防止恶意调用
if (!defined('IN_MOD'))
{
    die('Hacking attempt');
}

$configdata = array();

// 当前语言
if($configinfo['langok'] == 1)
{
	if($configinfo['lang'])
	{
		$thislang = $configinfo['lang'];
	}else{
		$thislang = $configinfo['langdefault'];	
	}
}

// FastXCMS安装信息
if($configinfo['fastxcmsok'] == 1)
{
	// 产品详情联系信息配置
	$messageurl = cmf_url('portal/list/index',array('id' => 16));
	$configdata['messageurl'] = $messageurl;
	
	// 语言开启时
	if($configinfo['langok'] == 1)
	{
		$langdata = array('cn'=>'117','en'=>118);
		$contactid = $langdata[$thislang];
	}else{
		$contactid = 117;
	}
	$contacturl = cmf_url('portal/article/index',array('id' => $contactid, 'cid' => 67));
	$configdata['contacturl'] = $contacturl;
}
?>